#ifndef MOTOR_H
#define MOTOR_H

#include <QWidget>
namespace Ui {
class Motor;        //我的理解，此时class Motor还未定义，这个Motor是来自命名空间Ui中的
}

class Motor : public QWidget
{
    Q_OBJECT

public:
    explicit Motor(QWidget *parent = nullptr);
    ~Motor();
signals:
    void motor2sensor(QByteArray arr_start, QString message);
private slots:
    void on_slider_motor_speed_sliderReleased();

    void on_button_motor_start_clicked();

    void on_button_motor_stop_clicked();

private:
    Ui::Motor *ui;
};

#endif // MOTOR_H
